dBASE code for PEGetNFormulas and PECheckFormula

The following code is an example of how to use the PEGetNFormulas function:

LOCAL nNumFormulas
nNumFormulas = PEGetNFormulas(Job)
IF nNumFormulas < 0
    && Function failed
ENDIF

The following code is an example of how to use the PECheckFormula to check a named formula for errors:

LOCAL result, cFormulaName
cFormulaName = "MyFormula"
result = PECheckFormula(Job, cFormulaName)
IF result = .F.
    && Handle Error
ENDIF


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com